import QtQuick 2.12
import QtQuick.Window 2.12

Window {
    visible: true
    width: 640
    height: 480
    title: qsTr("QML Signal and Slot")

    Background {
        id: background
        anchors.fill: parent
        target: sender

        Sender {
            id: sender
            target: reciever
            height: width
            x: 81
            y: 161
            circleColor: "blue"
            contentText: "Click me"
            anchors.verticalCenter: parent.verticalCenter
        }

        Receiver {
            id: reciever
            x: 372
            y: 140
            width: sender.width
            height: width
            contentText: "Receiver"
            anchors.verticalCenter: parent.verticalCenter
        }

        Text {
            id: element
            x: 81
            y: 423
            width: 500
            height: 57
            text: qsTr("1. Click the left Circle to show color animation. \r\n2. Press key + or - to change the circle radius.")
            anchors.horizontalCenter: parent.horizontalCenter
            anchors.bottom: parent.bottom
            anchors.bottomMargin: 0
            font.bold: true
            font.pixelSize: 19
        }
    }
}

/*##^##
Designer {
    D{i:1;anchors_x:141;anchors_y:156}
}
##^##*/
